package com.yunhe.device.model.device;

import com.yunhe.common.annotation.ItemAndName;
import com.yunhe.common.annotation.NameTitle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName EquipmentVo
 * @Description TODO
 * @Author HeTao
 * @Date 2021/7/16 17:02
 * @Version 1.0
 **/
@ApiModel(value = "EquipmentVo", description = "设备列表出参对象")
@Data
public class EquipmentVo {

    @ApiModelProperty("设备id")
    private Long id;

    @ApiModelProperty("设备状态")
    private String status;

    @ApiModelProperty("设备状态Title")
    @NameTitle(nameCode = "equipStatus",nameType = "ITEM")
    private String statusTitle;

    @ApiModelProperty("设备类型id")
    private Long equipTypeId;

    @ApiModelProperty("设备类型图片")
    private String equipTypePhoto;

    @ApiModelProperty("设备类型编码")
    private String equipTypeName;

    @ApiModelProperty("设备类型名称")
    private String equipTypeTitle;

    @ApiModelProperty("设备名称")
    private String equipName;

    @ApiModelProperty("归属园区id")
    private Long ownedPark;

    @ApiModelProperty("归属园区名称")
    private String ownedParkName;

    @ApiModelProperty("归属厂房id")
    private String ownedOffice;

    @ApiModelProperty("归属厂房名称")
    private String ownedOfficeName;

    @ApiModelProperty("设备位置")
    private String equipLocation;

    @ApiModelProperty("设备位置")
    @ItemAndName(nameCode = "equipLocation",nameValue = "equipLocation",nameType = "ITEM-OFIICE")
    private String equipLocationTitle;

    @ApiModelProperty("设备SN码")
    private String equipSN;

}
